package com.fs.warehouse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author hys
 * @since 2024-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wh_inv_inventory")
public class WhInvInventory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "inventory_id", type = IdType.AUTO)
    private Integer inventoryId;

    private Date inventoryDate;

    private Integer warehouseId;

    private String warehouseName;

    private Integer inventoryTakerId;

    private String inventoryTakerName;

    private Integer countResult;

    private String inventoryNotes;

    private String approvalStatus;

    private Integer approverId;

    private String approverName;

    private LocalDateTime approvalDate;
    @TableField(exist = false)
    private List<WhInvInventoryDetail> whDetailedList;

}
